package org.particlethink.model;

import org.particlethink.entry.ObjectionType;
import org.particlethink.handler.ObjectionTypeHandler;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.Table;

@Table(name = "objection_reasons")
public class ObjectionReason extends BaseModel{
	@ColumnType(typeHandler = ObjectionTypeHandler.class)
	private ObjectionType objectionType;
	private String reason;
	private Integer correlationId;

	public ObjectionType getObjectionType() {
		return objectionType;
	}

	public void setObjectionType(ObjectionType objectionType) {
		this.objectionType = objectionType;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getCorrelationId() {
		return correlationId;
	}

	public void setCorrelationId(Integer correlationId) {
		this.correlationId = correlationId;
	}
}
